  <script setup lang="ts">
    import {ref} from "vue"
    let name = ref("Voldy")
    function a(){
      name.value = "Lord"
    }
  </script>

  <template>
    <div>{{ name }}</div>
    <button @Click="a">Click</button>
  </template>

  <style scoped>
    div{
       width:50px;
        height: 50px;
       background-color: aquamarine;
    }
    </style>